@import '../../sass/variables.scss';
@import '../../sprites/sprite_commonIcon';

.dropdown{
    position: relative;
    vertical-align: middle;
    display: inline-block;
    min-width: 60px;
    .checked{
        height: 19px;
        line-height: 19px;
        white-space: nowrap;
        overflow: hidden;
        /* text-overflow: ellipsis; */
        font-size: 12px;
        border: 1px solid $gray;
        padding: 3px 35px 5px 10px;
        border-radius: 2px;
        cursor: pointer;
    }
    .triangle_down{
        position: absolute;
        top: 12px;
        right: 7px;
        width: 0;
        height: 0;
        border: 5px solid $gray;
        border-color: $gray $white $white $white;
        border-bottom: 0;
        cursor: pointer;
    }
    .colLine{
        position: absolute;
        top: 1px;
        right: 25px;
        bottom: 1px;
        width: 1px;
        background: $gray;
        cursor: pointer;
    }
    .dropdown-list{
        display: none;
        position: absolute;
        z-index: 1;
        top: 100%;
        left: 0;
        min-width: 100%;
        border: 1px solid $gray;
        border-bottom:0;
        background: $white;
        box-sizing: border-box;
        border-radius: 2px;
        .dropdown-item{
            padding: 0 10px;
            cursor: pointer;
            height: 27px;
            line-height: 27px;
            white-space: nowrap;
            border-bottom: 1px solid $gray;
            font-size: 12px;
            &:hover{
                background: $gray_light;
            }
        }
    }
}
